<!DOCTYPE html>
<html lang = "en">
	<head>
		<meta charset = "UTF-8">
		<title>Title</title>
		<style>
			#div0 {
				/*width: 100%;*/
				/*height: 1000px;*/
				/*background-color: #1abc9c;*/
			}
			
			.form th {
				background-color: #efebde;
				border-right-width: 1px;
				border-bottom-width: 1px;
				border-right-style: solid;
				border-bottom-style: solid;
				border-right-color: #7e7d68;
				border-bottom-color: #7e7d68;
				
			}
			
			.form td {
				border-right-width: 1px;
				border-bottom-width: 1px;
				border-top-style: none;
				border-right-style: solid;
				border-bottom-style: solid;
				border-left-style: none;
				border-right-color: #c0c0c0;
				border-bottom-color: #c0c0c0;
				
			}
			
			.form table {
				border: 1px solid #7e7d68;
			}
			
			.form input {
				border-top-width: 0px;
				border-right-width: 0px;
				border-bottom-width: 0px;
				border-left-width: 0px;
				border-top-style: none;
				border-right-style: none;
				border-bottom-style: none;
				border-left-style: none;
				background-color: transparent;
			}
		
		</style>
		<script src = "../src/CUtil.js"></script>
	</head>
	<body>
		<div id = "div111" style="width: 500px;height: 30px;background-color: #2ecc71"></div>
		<div id = "div0"></div>
	</body>
</html>
<script>
	let root = document.getElementById("div0");
	
	function S_CreateTable(parent) {
		let form = document.createElement("form");
		form.id = "form1";
		form.className = "form";
		form.name = "form";
		root.appendChild(form);
		
		let table = document.createElement("table");
		form.appendChild(table);
		
		let tbody = document.createElement("tbody");
		table.appendChild(tbody);
		
		const whitePx = "60px";
		const heightPx = "20px";
		for (let column = 0; column < 20; column++) {
			let tr = document.createElement("tr");
			tr.style.height = heightPx;
			tbody.appendChild(tr);
			for (let row = 0; row < 16; row++) {
				if (column == 0) {
					let th = document.createElement("th");
					th.style.white = "120px";
					th.scope = "row";
					th.innerHTML = row + "";
					tr.appendChild(th);
				} else {
					if (row == 0) {
						let th = document.createElement("th");
						th.style.white = "120px";
						th.scope = "column";
						th.innerHTML = column + "_A";
						tr.appendChild(th);
					} else {
						let td = document.createElement("td");
						tr.appendChild(td);
						let input = document.createElement("input");
						input.style.white = "120px";
						input.type = "text";
						input.size = "10";
						input.className = "cell";
						input.value = "的ski斯达舒dfdgdfgd" + row;
						td.appendChild(input);
					}
				}
			}
		}
	}
	
	S_CreateTable(root);
	
	
	function dddd() {
		let map = {};
		for (let x = 0; x < 120; x++) {
			let mm = {};
			for (let y = 0; y < 20; y++) {
				mm[y] = "会计核算金_" + y;
			}
			map[x] = mm;
		}
	}
	
	
	// let filePath = "C:\\Users\\Administrator\\Desktop\\ssss.txt";
	// let data = "dddddddddddddddddddddd";
	//S_SaveData(filePath, data);
	
	
	// let ss = S_BrowseFolder();
	// alert(ss);


</script>